package STUDENT.TRINHQUANGXUANDUC.OPPS.INHERISTANCE.BAI3;

public class Connguoi extends DongVat {
	private String Bietnoi, Bietkhieuvu;
	private int SoTay;

	public int getSoTay() {
		return SoTay;
	}

	public void setSoTay(int soTay) {
		SoTay = soTay;
	}

	public Connguoi() {
		SoTay = 2;
		Bietnoi = "Biet noi";
		Bietkhieuvu = "Biet khieu vu";
	}

	public String getBietnoi() {
		return Bietnoi;
	}

	public void setBietnoi(String bietnoi) {
		Bietnoi = bietnoi;
	}

	public String getBietkhieuvu() {
		return Bietkhieuvu;
	}

	public void setBietkhieuvu(String bietkhieuvu) {
		Bietkhieuvu = bietkhieuvu;
	}
}
